.file(".cargo/config",r#"
[alias]
b-cargo-test = 5
- "#);;
+ "#);
assert_that(p.cargo_process("b-cargo-test").arg("-v"),
execs().with_status(101).
.file(".cargo/config",r#"
[alias]
b = "not_build"
- "#);;
+ "#);
assert_that(p.cargo_process("b").arg("-v"),
execs().with_status(0).
.file(".cargo/config",r#"
[alias]
b-cargo-test = "build"
- "#);;
+ "#);
assert_that(p.cargo_process("b-cargo-test").arg("-v"),
execs().with_status(0).
.file(".cargo/config",r#"
[alias]
b-cargo-test = ["build", "--release"]
- "#);;
+ "#);
assert_that(p.cargo_process("b-cargo-test").arg("-v"),
execs().with_status(0).
.file(".cargo/config",r#"
[alias]
b-cargo-test = "build --release"
- "#);;
+ "#);
assert_that(p.cargo_process("b-cargo-test").arg("-v"),
execs().with_status(0).
.file(".cargo/config",r#"
[alias]
build = "fetch"
- "#);;
+ "#);
assert_that(p.cargo_process("build"),
execs().with_status(0)